package org.example.news_check.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.news_check.Pojo.newsHistory;

import java.util.List;
@Mapper
public interface newsHistoryMapper {

        void save(newsHistory newsHistory);
        List<newsHistory> findByUserId(Integer userId);
    }

